﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LibraryModels
{
    /// <summary>
    /// ClassName: TabBook
    /// Auther:Leo.wl
    /// Time:2010-04-14
    /// 实体类TabBook 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class TabBook
    {
        public TabBook()
        { }
        #region Model
        private int _bookid;
        private string _bookname;
        private string _booknumber;
        private int _typeid;
        private int _stateid;
        private string _bookauther;
        private string _bookpublictime;
        private decimal? _bookprice;
        private string _isdisk;
        private string _remark;
        /// <summary>
        /// 图书编号
        /// </summary>
        public int BookID
        {
            set { _bookid = value; }
            get { return _bookid; }
        }
        /// <summary>
        /// 图书名称
        /// </summary>
        public string BookName
        {
            set { _bookname = value; }
            get { return _bookname; }
        }
        /// <summary>
        /// 图书序列号
        /// </summary>
        public string BookNumber
        {
            set { _booknumber = value; }
            get { return _booknumber; }
        }
        /// <summary>
        /// 图书类型编号
        /// </summary>
        public int TypeID
        {
            set { _typeid = value; }
            get { return _typeid; }
        }
        /// <summary>
        /// 图书状态编号
        /// </summary>
        public int StateID
        {
            set { _stateid = value; }
            get { return _stateid; }
        }
        /// <summary>
        /// 图书作者
        /// </summary>
        public string BookAuther
        {
            set { _bookauther = value; }
            get { return _bookauther; }
        }
        /// <summary>
        /// 图书发布时间
        /// </summary>
        public string BookPublicTime
        {
            set { _bookpublictime = value; }
            get { return _bookpublictime; }
        }
        /// <summary>
        /// 图书价格
        /// </summary>
        public decimal? BookPrice
        {
            set { _bookprice = value; }
            get { return _bookprice; }
        }
        /// <summary>
        /// 是否有光盘
        /// </summary>
        public string IsDisk
        {
            set { _isdisk = value; }
            get { return _isdisk; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        #endregion Model
    }
}
